package com.qf.service.serviceImpl;

import com.qf.dao.UserDao;
import com.qf.dao.daoImpl.UserDaoImpl;
import com.qf.service.UserService;

/**
 * @author 常肖飞先生
 * @version V1.0
 * @Project 0511_3
 * @Package com.qf.service.serviceImpl
 * @Description: User的ServiceImpl层
 * @Date 2022/5/12 0:14
 */
public class UserServiceImpl implements UserService {
   private UserDao userDao = new UserDaoImpl();
    @Override
    public boolean login(String username, String password) {
        return userDao.selectOne(username,password)!= null;
    }
}
